//
//  addYHQViewCell.m
//  LazyCat
//
//  Created by rocky on 15/12/14.
//  Copyright (c) 2015年 zhanshu. All rights reserved.
//

#import "addYHQViewCell.h"

@implementation addYHQViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {//添加
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.titleL = [[UILabel alloc]init];
        [self addSubview:self.titleL];
        self.shezhiTextField = [[UITextField alloc]init];
        [self addSubview:self.shezhiTextField];
        self.arrImageV = [[UIImageView alloc]init];
        [self addSubview:self.arrImageV];
        self.lineL = [[UILabel alloc]init];
        [self addSubview:self.lineL];
    }
    return self;
}
-(void)layoutSubviews {//重绘
    self.titleL.frame = CGRectMake(10, 0, 70, 44);
    self.titleL.font = [UIFont systemFontOfSize:14];
    self.titleL.textAlignment = NSTextAlignmentLeft;
    self.titleL.textColor = [UIColor colorWithRed:51/255.0 green:51/255.0 blue:51/255.0 alpha:1.0];
    
    self.shezhiTextField.frame = CGRectMake(90, 0, ScreenWidth-115, 44);
    self.shezhiTextField.font = [UIFont systemFontOfSize:14];
    self.shezhiTextField.borderStyle = UITextBorderStyleNone;
    self.shezhiTextField.textColor = [UIColor colorWithRed:153/255.0 green:153/255.0 blue:153/255.0 alpha:1.0];
    
    self.arrImageV.frame = CGRectMake(ScreenWidth-20, 16, 9, 12);
    
    self.lineL.frame = CGRectMake(10, 43, ScreenWidth-10, 1);
    self.lineL.alpha = 0.2;
    self.lineL.backgroundColor = [UIColor lightGrayColor];
}


- (void)awakeFromNib {
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
